package com.lagou.edu;

import com.lagou.edu.context.ApplicationContext;
import com.lagou.edu.factory.BeanFactory;
import com.lagou.edu.service.TransferService;

import java.net.URL;

public class Test {
    @org.junit.Test
    public void test() throws Exception {
        ApplicationContext applicationContext = new ApplicationContext("beans.xml");
        TransferService transferService = (TransferService) applicationContext.getBean("transferService");
        transferService.transfer("1","2",100);
        System.out.println(transferService);
    }


}
